<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<title><?php if (isset($title)){echo $title;}?></title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<!-- basic styles -->
                 <base href="<?php echo base_url() ?>" />
		<link href="assets/css/bootstrap.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="assets/css/font-awesome.min.css" />
		<!--[if IE 7]>
		  <link rel="stylesheet" href="assets/css/font-awesome-ie7.min.css" />
		<![endif]-->
		<!-- page specific plugin styles -->
		<link rel="stylesheet" href="assets/css/jquery-ui-1.10.3.full.min.css" />
		<link rel="stylesheet" href="assets/css/datepicker.css" />
		<link rel="stylesheet" href="assets/css/ui.jqgrid.css" />
		<!-- fonts -->
		<!--<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,300" /> -->
		<!-- ace styles -->
		<link rel="stylesheet" href="assets/css/ace.min.css" />
		<link rel="stylesheet" href="assets/css/ace-rtl.min.css" />
		<link rel="stylesheet" href="assets/css/ace-skins.min.css" />
		<!--[if lte IE 8]>
		  <link rel="stylesheet" href="assets/css/ace-ie.min.css" />
		<![endif]-->
		<!-- inline styles related to this page -->
		<!-- ace settings handler -->
		<script src="assets/js/ace-extra.min.js"></script>
		<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
		<!--[if lt IE 9]>
		<script src="assets/js/html5shiv.js"></script>
		<script src="assets/js/respond.min.js"></script>
		<![endif]-->
	</head>

	<body>
		<div class="navbar navbar-default " id="navbar">
			<script type="text/javascript">
				try{ace.settings.check('navbar' , 'fixed')}catch(e){}
			</script>
			<div class="navbar-container" id="navbar-container">
				<div class="navbar-header pull-left">                               
					<a href="<?php echo site_url(); ?>" class="navbar-brand">
                                            <img src="assets/avatars/logo.gif" alt="logo"  height="26" border="0" class="nav-user-photo" />
						<small>							
                                                    <img src="assets/avatars/title.png" alt="title"  height="26" border="0" class="nav-user-photo" />						</small>					</a><!-- /.brand -->
				</div>
				<!-- /.navbar-header -->

				<div class="navbar-header pull-right" role="navigation">
					<ul class="nav ace-nav">
                                            <li class="grey">
							<a data-toggle="dropdown" class="dropdown-toggle" href="#">
								<i class="icon-tasks"></i>
								<span class="badge badge-grey"><?php if (isset($sum1)){echo $sum1;}else{echo "0";}?></span>
							</a>

							<ul class="pull-right dropdown-navbar dropdown-menu dropdown-caret dropdown-close">
								<li class="dropdown-header">
									<i class="icon-ok"></i>
									还有<?php if (isset($sum1)){echo $sum1;}else{echo "0";}?>个任务完成
								</li>

								<li>
									<a href="#">
										<div class="clearfix">
											<span class="pull-left">待办工单</span>
											<span class="pull-right"><?php if (isset($sum1)){echo $sum1;}else{echo "0";}?>个</span>
										</div>
									</a>
								</li>		
								<li>
									<a href="#">
										查看工单详情
										<i class="icon-arrow-right"></i>
									</a>
								</li>
							</ul>
						</li>
						<li class="light-blue">
							<a data-toggle="dropdown" href="#" class="dropdown-toggle">
								<i class="icon-user bigger-230"></i>
								<span class="user-info">
									<small>欢迎你,</small>
									<?php if (isset($Loginname)){echo $Loginname;}else{echo "用户";}?>
								</span>

								<i class="icon-caret-down"></i>
							</a>

							<ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
								<li>
									<a href="<?php echo site_url('main/mysetting'); ?>">
										<i class="icon-cog"></i>
										设置
									</a>
								</li>

								<li>
									<a href="<?php echo site_url('main/myinfo'); ?>">
										<i class="icon-user"></i>
										个人资料
									</a>
								</li>

								<li class="divider"></li>

								<li>
									<a href="<?php echo site_url('main/logout'); ?>">
										<i class="icon-off"></i>
										退出
									</a>
								</li>
							</ul>
						</li>
					</ul><!-- /.ace-nav -->
				</div><!-- /.navbar-header -->
			</div><!-- /.container -->
		</div> <!-- /.end navbar -->

		<div class="main-container" id="main-container">
			<script type="text/javascript">
				try{ace.settings.check('main-container' , 'fixed')}catch(e){}
			</script>

		<div class="main-container" id="main-container">
			<script type="text/javascript">
				try{ace.settings.check('main-container' , 'fixed')}catch(e){}
			</script>

			<div class="main-container-inner">
				<a class="menu-toggler" id="menu-toggler" href="#">
					<span class="menu-text"></span>
				</a>
				<div class="sidebar" id="sidebar">
					<script type="text/javascript">
						try{ace.settings.check('sidebar' , 'fixed')}catch(e){}
					</script>					
					<ul class="nav nav-list">
                                              <li class="active">
							<a href="<?php echo site_url(); ?>">
								<i class=" icon-home "></i>
								<span class="menu-text"> 系统首页 </span>
							</a>
						</li>    

                                              <li>
							<a href="#" class="dropdown-toggle">
								<i class="icon-legal"></i>
								<span class="menu-text"> 任务工单</span>

								<b class="arrow icon-angle-down"></b>
							</a>

							<ul class="submenu">
                                                                   <li>
									<a href="<?php echo site_url('main/createWorkOrders/1/1_1'); ?>">	
                                                                            <i class='icon-double-angle-right'></i>
										工程入场申请
									</a>
								</li>	
								<li >
									<a href="<?php echo site_url('main/createWorkOrders/2/2_1'); ?>">
										<i class="icon-double-angle-right"></i>
										工程退场申请                                                                                                                                                          
									</a>
								</li>

								<li>
									<a href="<?php echo site_url('main/createWorkOrders/3/3_1'); ?>">
										<i class="icon-double-angle-right"></i>
										验收交维申请
									</a>
								</li>		
                                                                                                                               <li>
									<a href="<?php echo site_url('main/caogao'); ?>">
										<i class="icon-double-angle-right"></i>
										我的草稿工单
                                                                                 <span class="badge badge-primary "><?php if (isset($sum2)){echo $sum2;}else{echo "0";}?></span>
									</a>
								</li>	
							</ul>
						</li>
						<li>
							<a href="#" class="dropdown-toggle">
								<i class="icon-dashboard"></i>
								<span class="menu-text"> 我的工单</span>

								<b class="arrow icon-angle-down"></b>
							</a>

							<ul class="submenu">
								<li >
									<a href="<?php echo site_url('main/mydaiban'); ?>">
										<i class="icon-double-angle-right"></i>
										我的待办工单
                                                                                  <span class="badge badge-primary "><?php if (isset($sum1)){echo $sum1;}else{echo "0";}?></span>
                                                                              
									</a>
								</li>

								<li>
									<a href="<?php echo site_url('main/myyiban'); ?>">
										<i class="icon-double-angle-right"></i>
										我的己办工单
									</a>
								</li>		
                                                                <li>		
									<a href="<?php echo site_url('main/myguidang'); ?>">
										<i class="icon-double-angle-right"></i>
										我的归档工单
									</a>
								</li>	
							</ul>
						</li>
                                                <li>
							<a href="#" class="dropdown-toggle">
									<i class=" icon-desktop"></i>
								<span class="menu-text"> 系统工单</span>

								<b class="arrow icon-angle-down"></b>
							</a>

							<ul class="submenu">
								<li>
									<a href="<?php echo site_url('main/sys_noguidang'); ?>">
										<i class="icon-double-angle-right"></i>
										未归档工单
									</a>
								</li>

								<li>
									<a href="<?php echo site_url('main/sys_guidang'); ?>">
										<i class="icon-double-angle-right"></i>
										己归档工单
									</a>
								</li>
                                                                <li>
								<a href="<?php echo site_url('main/sys_allWork'); ?>">
										<i class="icon-double-angle-right"></i>
										全部系统工单
									</a>
								</li>
							</ul>
						</li>
						<li>
							<a href="#" class="dropdown-toggle">
								<i class="icon-cog"></i>
								<span class="menu-text"> 系统设置 </span>

								<b class="arrow icon-angle-down"></b>
							</a>

							<ul class="submenu">
                                                            <li>
									<a href="<?php echo site_url('main/myinfo'); ?>">
										<i class="icon-double-angle-right"></i>
										个人信息
									</a>
								</li>
								<li>
									<a href="<?php echo site_url('main/editpw'); ?>">
										<i class="icon-double-angle-right"></i>
										密码修改
									</a>
								</li>

								<li>
									<a href="<?php echo site_url('main/mysetting'); ?>">
										<i class="icon-double-angle-right"></i>
										角色配置
									</a>
								</li>

								<li>
									<a href="<?php echo site_url('main/users'); ?>">
										<i class="icon-double-angle-right"></i>
										公共通信录
									</a>
								</li>
							</ul>
						</li>
					</ul><!-- /.nav-list -->

					<div class="sidebar-collapse" id="sidebar-collapse">
						<i class="icon-double-angle-left" data-icon1="icon-double-angle-left" data-icon2="icon-double-angle-right"></i>
					</div>
					<script type="text/javascript">
						try{ace.settings.check('sidebar' , 'collapsed')}catch(e){}
					</script>
				</div>

				<div class="main-content">
					<div class="breadcrumbs" id="breadcrumbs">
						<script type="text/javascript">
							try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
						</script>

						<ul class="breadcrumb">
							<li>
								<i class="icon-home home-icon"></i>
								<a href="#">首页</a>
							</li>
							<li class="active">错误提示</li>
						</ul><!-- .breadcrumb -->

						<div class="nav-search" id="nav-search">
							<form class="form-search">
								<span class="input-icon">
									<input type="text" placeholder="Search ..." class="nav-search-input" id="nav-search-input" autocomplete="off" />
									<i class="icon-search nav-search-icon"></i>
								</span>
							</form>
						</div><!-- #nav-search -->
					</div>
					<div class="page-content">                                           
						<div class="alert alert-danger left">
											<button data-dismiss="alert" class="close" type="button">
												<i class="icon-remove"></i>
											</button>

											<strong>
												<span class="col-sm-8">
												<i class="icon-bell-alt "></i>
                                                                                                   对不起, 此功能正在开发中...
											       </span>
												
											</strong>
                                                                                      
											<br><br>  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp;
                                                                                        <button class="btn btn-sm btn-danger" onclick="javascript:history.go(-1)">
										      <i class="icon-reply bigger-125"></i>返回															
											</button>
										</div>
						<div class="row">
							<div class="col-xs-12">
								<!-- PAGE CONTENT BEGINS -->
								<table id="grid-table"></table>

								<div id="grid-pager"></div>

								<script type="text/javascript">
									var $path_base = "/";//this will be used in gritter alerts containing images
								</script>

								<!-- PAGE CONTENT ENDS -->
							</div><!-- /.col -->
						</div><!-- /.row -->
					</div><!-- /.page-content -->
				</div><!-- /.main-content -->
			</div><!-- /.main-container-inner -->

			<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
				<i class="icon-double-angle-up icon-only bigger-110"></i>
			</a>
		</div><!-- /.main-container -->

			<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
				<i class="icon-double-angle-up icon-only bigger-110"></i>
			</a>
		</div><!-- /.main-container -->

		<!-- basic scripts -->

		<!--[if !IE]> -->

		<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>

		<!-- <![endif]-->

		<!--[if IE]>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<![endif]-->

		<!--[if !IE]> -->

		<script type="text/javascript">
			window.jQuery || document.write("<script src='assets/js/jquery-2.0.3.min.js'>"+"<"+"/script>");
		</script>

		<!-- <![endif]-->

		<!--[if IE]>
<script type="text/javascript">
 window.jQuery || document.write("<script src='assets/js/jquery-1.10.2.min.js'>"+"<"+"/script>");
</script>
<![endif]-->

		<script type="text/javascript">
			if("ontouchend" in document) document.write("<script src='assets/js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
		</script>
		<script src="assets/js/bootstrap.min.js"></script>
		<script src="assets/js/typeahead-bs2.min.js"></script>

		<!-- page specific plugin scripts -->

		<!-- ace scripts -->

		<script src="assets/js/ace-elements.min.js"></script>
		<script src="assets/js/ace.min.js"></script>

	
</body>
</html>
